package pl.edu.pb.wi.cookbook.form;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginForm {
    @NotEmpty(message = "Wypełnij pole.")
    private String login;
    @NotEmpty(message = "Wypełnij pole.")
    private String password;

    public LoginForm() {
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
